<?php 
ob_start();
require_once('fun.php'); 
?><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>树洞</title></head><body><form method="get" action=""><input name="m" type="text" id="m" maxlength="140"<?php if (isset($_GET['m'])) echo ' value="'.$_GET['m'].'"'; ?>><br><input type="submit" value="发布">详情见<a href="index.php">完整主页</a></form><a href="m_tl.php">[看看树洞里有啥]</a><?php 
if (isset($_GET['m'])) {
if (post($_GET['m'])!=NULL) print('发推成功'); else print('发推失败...');
} ?></body></html>